package com.globagames.strategicgames.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.globagames.strategicgames.model.*;
	
	import flash.events.Event;
	
	
	[Bindable]
	public class CompanyExchangeEvent extends CairngormEvent
	{
		public static var EVENT_COMPANY_EXCHANGE : String = "COMPANY_EXCHANGE";
		
		public var action :String;
		public var company :Company;
		public var soldier:Soldier;
		public var isCreated:Boolean = false;
		public var isFound:Boolean = false;
		public var isSoldierAdded:Boolean = false;

		
		
		/**
		 * Constructor.
		 */
		public function CompanyExchangeEvent()
		{
			super( EVENT_COMPANY_EXCHANGE );
		}
     	
     	/**
     	 * Override the inherited clone() method, but don't return any state.
     	 */
		override public function clone() : Event
		{
			return new CompanyExchangeEvent();
		}	
	}
	
}